package Helpers;

import VOs.StockVO;
import Entity.Stock;

public class StockHelper {
	
	public Stock toEntity(StockVO vo){
		Stock entity = new Stock();
		entity.setCompany(vo.getCompany());
		entity.setDescription(vo.getDescription());
		entity.setId(vo.getId());
		entity.setName(vo.getName());
		entity.setQuotes(vo.getQuotes());
		entity.setSymbol(vo.getSymbol());
		
		return entity;
	}

}
